cd gate
nohup api-gate >> ../start.log 2>&1 &

# 切换到py目录并启动python server.py命令
cd ../py
source .env/bin/activate
nohup python server.py >> ../start.log 2>&1 &

echo "服务已启动，日志输出到 start.log"
